// json数据
// 1.女装
var women = {
    // 0.0.大图
    Datu: [
        {
            "Img": "https://x.dscmall.cn/storage/data/afficheimg/1489959091429324080.jpg"
        }
    ],
    // 0.1.横小图
    Hengtu: [
        {
            "Img": "https://x.dscmall.cn/storage/data/afficheimg/1490902198662849705.png"
        },
        {
            "Img": "https://x.dscmall.cn/storage/data/afficheimg/1490902716880024601.jpg"
        }
    ],

    // 1.1.连衣裙dress
    LianYiQ: [
        {
            "name": "小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包",
            "type": "连衣裙",
            "price": "¥15.90",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490169118213.jpg",
        },
        {
            "name": "得听格子衬衫女长袖2020秋季新款小清新韩版宽松百搭学生春秋装纯棉衬衫大码外套上衣女 天蓝色 M(1)",
            "type": "连衣裙",
            "price": "¥78.00",
            "Img": "https://img14.360buyimg.com/n1/s300x300_jfs/t1/123512/13/9287/160399/5f2fd23eE1fa59971/32abc6e0ae1d8f4b.jpg",
        },
        {
            "name": "韩都衣舍2017春装新款女装春款拼接喇叭长袖连衣裙中长款时尚韩版 领券立减/单件包邮/七天无理由退换",
            "type": "连衣裙",
            "price": "¥118.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490169186175.jpg",
        },
        {
            "name": "韩都衣舍2017韩版女装夏装新款时尚修身显瘦圆领条纹T恤OGY7711娋 显瘦版型 舒适面料 条纹元素",
            "type": "连衣裙",
            "price": "¥88.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490169030833.jpg",
        },
        {
            "name": "韩都衣舍2016新款秋冬款长袖连衣裙宽松学生冬季内搭打底裙子韩版 领券下单立减/单件包邮/先拍先发货！",
            "type": "连衣裙",
            "price": "¥159.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490169216444.jpg",
        },
        {
            "name": "韩都衣舍秋冬喇叭长袖针织衫毛衣女套头宽松纯色百搭学生韩版打底 领券下单立减/单件包邮/先拍先发货！",
            "type": "连衣裙",
            "price": "¥159.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490169250846.jpg",
        },
        {
            "name": "韩都衣舍春季韩国ulzzang连帽卫衣女套头宽松百搭学生韩版潮bf风 领券下单立减/单件包邮/先拍先发货！",
            "type": "连衣裙",
            "price": "¥148.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490169151126.jpg",
        },
        {
            "name": "2017韩版女装夏装新款A字宽松松紧腰印花连衣裙DT7039乾 舒适松紧腰 A字版型 时尚印花",
            "type": "连衣裙",
            "price": "¥166.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490174894779.jpg",
        }
    ],
    // 1.2.蕾丝/雪纺衫lace
    Leis: [
        {
            "name": "美的韩美格2017春秋新款修身大码蕾丝网纱打底衫女长袖薄款圆领女T恤 全店商品 二件减5元 三件减10",
            "type": "蕾丝/雪纺衫",
            "price": "¥68.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490174858999.jpg",
        }
    ],
    // 1.3.T恤tees
    Tix: [
        {
            "name": "华帝新款韩版chic学生宽松短款外套上衣字母长袖连帽套头卫衣女潮",
            "type": "T恤",
            "price": "¥300.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489102753231.jpg",
        },
        {
            "name": "乐力初棉纯色圆领长袖T恤打底衫秋衣女上衣体恤女士修身打底衣春秋 挺拔有型 棉氨材质 柔软舒适 耐洗耐磨",
            "type": "T恤",
            "price": "¥65.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490174741051.jpg",
        }
    ],
    // 1.4.半身裙skirts
    Bans: [
        {
            "name": "喜瑞新款学院风韩版时尚太空棉宽松长袖印花圆领卫衣女",
            "type": "半身裙",
            "price": "¥233.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489102299856.jpg",
        },
        {
            "name": "LG17年春夏新款百搭半身裙蛋糕裙 a字裙 裤裙伞裙大码裙子超短裙女 松紧腰围 带裤边打底衬 涤针织面料",
            "type": "半身裙",
            "price": "¥49.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490174791219.jpg",
        }
    ],
    // 1.5.休闲裤slacks
    Xiux: [
        {
            "name": "逸阳女裤春装新款韩版休闲裤女九分裤黑色弹力微喇叭裤子显瘦0032 浓郁复古风 修饰腿型 生而优雅",
            "type": "休闲裤",
            "price": "¥158.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490174925807.jpg",
        }
    ],
    // 1.6.小图标
    icons: [
        {
            "Id": 01,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490071974970349584.jpg"
        },
        {
            "Id": 02,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490072756032175204.jpg"
        },
        {
            "Id": 03,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490072860522023692.jpg"
        },
        {
            "Id": 04,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490074030328949587.jpg"
        },
        {
            "Id": 05,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490073591535005714.jpg"
        },
        {
            "Id": 06,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490073577683159021.jpg"
        },
        {
            "Id": 07,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490228075580091113.jpg"
        },
        {
            "Id": 08,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490074901892372216.jpg"
        }
    ]
}

// console.log(women);  //JSON数据(女装)

// 首次展示的商品 - 女装
// Rigccc(allObj.clothingData);  //渲染连衣裙
// Rig(women.LianYiQ);  //渲染连衣裙
// // Rig(women.Leis);  //渲染蕾丝
// // Rig(women.Tix);  //渲染T恤
// // Rig(women.Bans);  //渲染半身裙
// // Rig(women.Xiux);  //渲染休闲裤

// 渲染图标 - 女装
Ricos(women.icons);


//2.男装
var man = {
    // T恤
    Tix: [
        {
            "name": "康比特森马针织衫 冬季男圆领套头青年毛衣小清新线衫毛衫纯色韩版学生",
            "type": "T恤",
            "price": "¥79.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490174414186.jpg"
        },
        {
            "name": "金利来森马夹克 2016冬装新款男士飞行夹克贴布绣立领休闲外套韩版潮流",
            "type": "T恤",
            "price": "¥1992.90",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490174208112.jpg"
        }
    ],
    // 裤子
    Kuz: [
        {
            "name": "康恩贝裤子男士哈伦裤春季新款2017束脚裤修身韩版潮流小脚裤男裤休闲裤 弹力",
            "type": "裤子",
            "price": "¥99.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490174241651.jpg"
        }
    ],
    // 休闲裤
    Xiux: [

    ],
    // 小图标
    icons: [
        {
            "Id": 01,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490072373278367315.jpg"
        },
        {
            "Id": 02,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490072765604121481.jpg"
        },
        {
            "Id": 03,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490073539440462760.jpg"
        }
    ]
}

// 首次展示的商品 - 男装
Rign(man.Tix);  //渲染T恤

// 渲染图标 - 男装
Ricosn(man.icons);

// 3.服饰配件
var clo = {
    // 配饰
    Peij: [
        {
            "name": "金奥力红叶伞遮阳伞防紫外线黑胶防晒晴雨两用太阳伞女糖果色折叠雨伞大 黑胶防晒 晴雨两用 糖果色 都市风情",
            "type": "配饰",
            "price": "¥38.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490173894447.jpg"
        },
        {
            "name": "匡威Apple/苹果 Apple Watch Series 2 智能手表42mm",
            "type": "配饰",
            "price": "¥3188.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490155369648.jpg"
        },
        {
            "name": "杰克琼斯74超薄非球面镜片高度近视眼镜片近视镜片防蓝光配眼镜镜片加工 套餐价低至359元 6款镜架任您选",
            "type": "配饰",
            "price": "¥399.00",
            "Img": "https://x.dscmall.cn/storage/images/201809/thumb_img/779_thumb_G_1536793964961.jpg"
        },
        {
            "name": "佳沪数码-华为男女韩版纯棉可爱冬季个性防尘情侣口罩保暖透气黑色时尚潮款春 15元一共2个口罩 防尘个性时尚",
            "type": "配饰",
            "price": "¥15.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490173663577.jpg"
        },
        {
            "name": "美的【新品发售】 Beats Beats Solo3 Wireless 头戴式无线蓝牙耳机 分期免息 全国联保 免费保修一年",
            "type": "配饰",
            "price": "¥1888.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489108087695.jpg"
        },
        {
            "name": "姬芮NewEra纽亦华 新款MLB棒球帽男女字母NY洋基LA道奇调节平沿嘻哈帽 官方正品",
            "type": "配饰",
            "price": "¥219.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490173534127.jpg"
        },
        {
            "name": "健安喜宝石蝶真丝围巾女士春秋季高档丝巾重磅桑蚕丝大方巾披肩丝绸礼品 16姆米重磅真丝丝滑缎面90方巾礼盒包装",
            "type": "配饰",
            "price": "¥169.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490173699371.jpg"
        },
        {
            "name": "justyle6林志玲花样姐姐同款海伦凯勒太阳镜女 偏光蛤蟆镜潮墨镜H8535 花样姐姐同款 林志玲设计 炫彩镂空",
            "type": "配饰",
            "price": "¥378.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490173860746.jpg"
        }
    ],
    // 棒球帽
    Bangq: [
        {
            "name": "姬芮NewEra纽亦华 新款MLB棒球帽男女字母NY洋基LA道奇调节平沿嘻哈帽 官方正品",
            "type": "棒球帽",
            "price": "¥219.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490173534127.jpg"
        }
    ],
    //遮阳帽
    Zhey: [

    ],
    // 小图标
    icons: [
        {
            "Id": 01,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490072677495061584.jpg"
        },
        {
            "Id": 02,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490072804442637685.jpg"
        },
        {
            "Id": 03,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490072823106532144.jpg"
        },
        {
            "Id": 04,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490073561018734078.jpg"
        },
        {
            "Id": 05,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490228100138579787.jpg"
        },
        {
            "Id": 06,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490073529881448780.jpg"
        },
        {
            "Id": 07,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490074901892372216.jpg"
        },
        {
            "Id": 08,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490171981556005380.jpg"
        }
    ]
}

// 首次展示的商品 - 配件
Rigp(clo.Peij);  //渲染配饰

// 渲染图标 - 配件
Ricosp(clo.icons)


// 4.内衣
var under = {
    // 内衣配件
    Neiy: [
        {
            "name": "爆款 爱慕经典KiKi裤轻薄无痕女士中腰三角内裤多色内衣A",
            "type": "内衣",
            "price": "¥88.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489099987431.jpg"
        },
        {
            "name": "狼爪贝妍夏季薄款女士睡衣性感V领女南韩丝家居服运动可外穿中袖套装",
            "type": "内衣",
            "price": "¥138.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490174547624.jpg"
        },
        {
            "name": "兰蔻Calvin Klein Underwear/CK 2017春夏新款 男士平角内裤NU8638 初上市价格290元",
            "type": "内衣",
            "price": "¥290.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490174469373.jpg"
        },
        {
            "name": "立邦都市丽人文胸旗舰店 林志玲有钢圈少女小胸文胸 聚拢 调整型内衣V 官方正品 赠运费险 收藏有礼 全国包邮",
            "type": "内衣",
            "price": "¥69.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490174663688.jpg"
        },
        {
            "name": "李宁都市丽人一片式无痕文胸厚杯性感聚拢舒适光面胸罩纯色商场同款 2016新品明星同款舒适Q软托无痕体验",
            "type": "内衣",
            "price": "¥91.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490174703131.jpg"
        },
        {
            "name": "Five Plus2017新品 加一尚品无痕内衣女 前扣无钢圈薄款交叉美背文胸M37 厚杯+薄杯 无钢圈 前扣 美背 上薄下厚",
            "type": "内衣",
            "price": "¥158.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489100049187.jpg"
        },
        {
            "name": "新百伦樱尚雅一片式无痕无钢圈文胸聚拢调整型性感小胸罩厚薄款少女内衣 2件减5元 不聚拢包退 送运费险",
            "type": "内衣",
            "price": "¥200.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489100653308.jpg"
        },
        {
            "name": "ELLE HOME舒适睡眠文胸罩无痕薄款运动内衣无钢圈女士调整型背心式少女聚拢 赠运费险 无痕无钢圈 舒适聚拢",
            "type": "内衣",
            "price": "¥211.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489100914563.jpg"
        }
    ],
    // 女式内裤
    Neik: [
        {
            "name": "Masentek迷瞳盒装女士内裤莫代尔透气少女三角裤夏季性感低腰无痕大码裤头 5条盒装 莫代尔面料 小内裤 窄边三角裤",
            "type": "内裤",
            "price": "¥45.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490174508974.jpg"
        }
    ],
    // 连裤袜/丝袜
    Liank: [

    ],
    // 小图标
    icons: [
        {
            "Id": 01,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490072313895957648.jpg"
        },
        {
            "Id": 02,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490072694695600078.jpg"
        },
        {
            "Id": 03,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490072950580851309.jpg"
        },
        {
            "Id": 04,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490073982547710498.jpg"
        },
        {
            "Id": 05,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490073518703639070.jpg"
        },
        {
            "Id": 06,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490073454678614186.jpg"
        },
        {
            "Id": 07,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490227986732712711.jpg"
        },
        {
            "Id": 08,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490074308773778697.jpg"
        }
    ]
}

// 首次展示的商品 - 内衣
Rigy(under.Neiy);  //渲染内衣配件

// 渲染图标 - 内衣
Ricosy(under.icons)

// 5.运动户外
var exer = {
    // 跑步
    Paob: [
        {
            "name": "阿迪达斯男鞋ZX750三叶草zx700跑",
            "type": "跑步运动",
            "price": "¥400.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490915538739.jpg"
        },
        {
            "name": "三星Nike 耐克官方 PRO COOL COMP LONG-SLEEVE 男子训练紧身衣703088",
            "type": "跑步运动",
            "price": "¥249.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490218873837.jpg"
        },
        {
            "name": "乔山洽福 转椅轮子万向轮 老板椅办公椅子滑轮电脑椅配件滚轮脚轮轱辘 静音灵活不伤地板质保三年下单备注安装方式",
            "type": "跑步运动",
            "price": "¥23.80",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490218800612.jpg"
        },
        {
            "name": "皮克朋马克华菲长袖T恤男 冬季新品纯棉圆领黑白潮款印花休闲t恤",
            "type": "跑步运动",
            "price": "¥98.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490218667022.jpg"
        },
        {
            "name": "七匹狼哑铃男士钢制家用电镀哑铃杠铃25 40公斤 纯钢哑铃盒装 健身器材 纯钢哑铃杠铃送哑铃架",
            "type": "跑步运动",
            "price": "¥360.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490218770962.jpg"
        },
        {
            "name": "苹果T1多功能健身器材家用仰卧板收腹机哑铃凳仰卧起坐板折叠 健身椅 进口格子皮八档调节 承重500斤",
            "type": "跑步运动",
            "price": "¥260.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490218732576.jpg"
        },
        {
            "name": "斯伯丁马克华菲长袖T恤男 冬季新品纯棉圆领黑白潮款印花休闲t恤",
            "type": "跑步运动",
            "price": "¥98.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490218835060.jpg"
        }
    ],
    // 舞蹈
    Wud: [
        {
            "name": "皮尔瑜伽迪卡侬健身手套 力量训练哑铃护掌防滑 DOMYOS QS 轻盈透气 重量训练",
            "type": "舞蹈运动",
            "price": "¥39.90",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490218701469.jpg"
        }
    ],
    // 瑜伽
    Yvj: [
        {
            "name": "同庆和堂专业瑜伽服双线美背瑜伽背心吊带含胸垫122324",
            "type": "瑜伽运动",
            "price": "¥159.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490218905472.jpg"
        }
    ],
    // 小图标
    icons: [
        {
            "Id": 01,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490072850306019115.jpg"
        },
        {
            "Id": 02,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490072889090025069.jpg"
        },
        {
            "Id": 03,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490072898345358625.jpg"
        },
        {
            "Id": 04,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490072918339853569.jpg"
        },
        {
            "Id": 05,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490072931218635674.jpg"
        },
        {
            "Id": 06,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490072993409028193.jpg"
        },
        {
            "Id": 07,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490073009638652059.jpg"
        },
        {
            "Id": 08,
            "Img": "https://x.dscmall.cn/storage/data/brandlogo/1490073324022460149.jpg"
        }
    ]
}

// 首次展示的商品 - 运动
Rigd(exer.Paob);  //渲染跑步运动

// 渲染图标 - 运动
Ricosd(exer.icons)

// 6.底部的轮播图
var lunB = {
    // 第一页
    one: [
        {
            "name": "新百伦樱尚雅一片式无痕无钢圈文胸聚拢调整型性感小胸罩厚薄款少女内衣 2件减5元 不聚拢包退 送运费险",
            "type": "轮播图第一页",
            "price": "¥200.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489100653308.jpg"
        },
        {
            "name": "匡威Apple/苹果 Apple Watch Series 2 智能手表42mm",
            "type": "轮播图第一页",
            "price": "¥3188.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490155369648.jpg"
        },
        {
            "name": "韩都衣舍2017韩版女装夏装新款时尚修身显瘦圆领条纹T恤OGY7711娋 显瘦版型 舒适面料 条纹元素",
            "type": "轮播图第一页",
            "price": "¥88.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490169030833.jpg"
        },
        {
            "name": "韩都衣舍2017春装新款女装春款拼接喇叭长袖连衣裙中长款时尚韩版 领券立减/单件包邮/七天无理由退换",
            "type": "轮播图第一页",
            "price": "¥118.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490169186175.jpg"
        },
        {
            "name": "金奥力红叶伞遮阳伞防紫外线黑胶防晒晴雨两用太阳伞女糖果色折叠雨伞大 黑胶防晒 晴雨两用 糖果色 都市风情",
            "type": "轮播图第一页",
            "price": "¥38.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490173894447.jpg"
        },
        {
            "name": "姬芮NewEra纽亦华 新款MLB棒球帽男女字母NY洋基LA道奇调节平沿嘻哈帽 官方正品",
            "type": "轮播图第一页",
            "price": "¥219.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490173534127.jpg"
        }
    ],
    // 第二页
    two: [
        {
            "name": "韩都衣舍秋冬喇叭长袖针织衫毛衣女套头宽松纯色百搭学生韩版打底 领券下单立减/单件包邮/先拍先发货！",
            "type": "轮播图第二页",
            "price": "¥159.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490169250846.jpg"
        },
        {
            "name": "VRSZEE轻奢品牌女装风衣外套女中长款2020秋季新款韩版流行小个子气质修身双排扣 卡其色 M",
            "type": "轮播图第二页",
            "price": "¥488.00",
            "Img": "https://x.dscmall.cn/storage/images/202109/thumb_img/1163_thumb_G_1631915644325.jpg"
        },
        {
            "name": "康恩贝裤子男士哈伦裤春季新款2017束脚裤修身韩版潮流小脚裤男裤休闲裤 弹力",
            "type": "轮播图第二页",
            "price": "¥99.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490174241651.jpg"
        },
        {
            "name": "喜瑞新款学院风韩版时尚太空棉宽松长袖印花圆领卫衣女",
            "type": "轮播图第二页",
            "price": "¥233.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489102299856.jpg"
        },
        {
            "name": "Masentek迷瞳盒装女士内裤莫代尔透气少女三角裤夏季性感低腰无痕大码裤头 5条盒装 莫代尔面料 小内裤 窄边三角裤",
            "type": "轮播图第二页",
            "price": "¥44.50",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490174508974.jpg"
        },
        {
            "name": "justyle6林志玲花样姐姐同款海伦凯勒太阳镜女 偏光蛤蟆镜潮墨镜H8535 花样姐姐同款 林志玲设计 炫彩镂空",
            "type": "轮播图第二页",
            "price": "¥378.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490173860746.jpg"
        }
    ],
    // 第三页
    tri: [
        {
            "name": "韩都衣舍2017韩版女装春装新款条纹显瘦百搭宽松v领七分袖衬衫潮 领券立减/单件包邮/七天无理由退换",
            "type": "轮播图第三页",
            "price": "¥78.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490169281436.jpg"
        },
        {
            "name": "得听格子衬衫女长袖2020秋季新款小清新韩版宽松百搭学生春秋装纯棉衬衫大码外套上衣女 天蓝色 M(1",
            "type": "轮播图第三页",
            "price": "¥78.00",
            "Img": "https://img14.360buyimg.com/n1/s300x300_jfs/t1/123512/13/9287/160399/5f2fd23eE1fa59971/32abc6e0ae1d8f4b.jpg"
        },
        {
            "name": "苹果T1多功能健身器材家用仰卧板收腹机哑铃凳仰卧起坐板折叠 健身椅 进口格子皮八档调节 承重500斤",
            "type": "轮播图第三页",
            "price": "¥268.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490218732576.jpg"
        },
        {
            "name": "ELLE HOME舒适睡眠文胸罩无痕薄款运动内衣无钢圈女士调整型背心式少女聚拢 赠运费险 无痕无钢圈 舒适聚拢",
            "type": "轮播图第三页",
            "price": "¥211.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1489100914563.jpg"
        },
        {
            "name": "健安喜宝石蝶真丝围巾女士春秋季高档丝巾重磅桑蚕丝大方巾披肩丝绸礼品 16姆米重磅真丝丝滑缎面90方巾礼盒包装",
            "type": "轮播图第三页",
            "price": "169.00",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490173699371.jpg"
        },
        {
            "name": "小米红米3s手机壳保护套红米3高配版指纹男女款潮版磨砂硬壳防摔 收藏截图 送大礼包",
            "type": "轮播图第三页",
            "price": "15.90",
            "Img": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490169118213.jpg"
        }
    ]
}

// 底部轮播页
lunBzui(li1, lunB.one);  //第一页轮播
lunBzui(li2, lunB.two);  //第二页轮播
lunBzui(li3, lunB.tri);  //第三页轮播

// 7.顶部的轮播图
var lunbDing = {
    // 第一页
    one: [
        {
            "id": 001,
            "type": "轮播图第一页",
            "Img": "https://x.dscmall.cn/storage/data/afficheimg/1489958299308242697.jpg"
        }
    ],
    // 第二页
    two: [
        {
            "id": 002,
            "type": "轮播图第二页",
            "Img": "https://x.dscmall.cn/storage/data/afficheimg/1490123276201426626.jpg"
        }
    ],
    // 第三页
    tri: [
        {
            "id": 003,
            "type": "轮播图第三页",
            "Img": "https://x.dscmall.cn/storage/data/afficheimg/1490123436237080312.jpg"
        }
    ],
    // 第四页
    apr: [
        {
            "id": 003,
            "type": "轮播图第四页",
            "Img": "https://x.dscmall.cn/storage/data/afficheimg/1490123306523369831.jpg"
        }
    ],
    // 第五页
    five: [
        {
            "id": 003,
            "type": "轮播图第五页",
            "Img": "https://x.dscmall.cn/storage/data/afficheimg/1490123319351624402.jpg"
        }
    ]
}

// 顶部轮播页
lunBzuiD(liDing1, lunbDing.one);  //第一页轮播
lunBzuiD(liDing2, lunbDing.two);  //第二页轮播
lunBzuiD(liDing3, lunbDing.tri);  //第三页轮播
lunBzuiD(liDing4, lunbDing.apr);  //第四页轮播
lunBzuiD(liDing5, lunbDing.five);  //第五页轮播

// 8.顶部侧导航悬浮出的内容里的小图标 - ico
Addxuanf(nvzhuangicoDing, women.icons);  //渲染图标(女装)
Addxuanf(nanzhuangicoDing, man.icons);  //渲染图标(男装)
Addxuanf(fushiicoDing, clo.icons);  //渲染图标(服饰)
Addxuanf(neiyiicoDing, under.icons);  //渲染图标(内衣)
Addxuanf(huwaiicoDing, exer.icons);  //渲染图标(户外)



// 这个是样式 - 整装JSON数据
var xxxx = {
    // 1.1.连衣裙dress
    LianYiQ: [
        {
            "id": 30001,
            "data": {
                "name": "宝姿Maybelline",
                "title": "宝姿Maybelline/美宝莲净澈多效卸妆水清爽型 舒缓 深层清洁 舒缓 补水 深层清洁 卸妆", //标题
                "src": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490218800612.jpg", //图片
                "num": "0",  //售出数量
                "brand": "小米",  //品牌名
                "brandName": "", //店铺名
                "old": "¥15.90",  //老价格
                "new": "¥15.90",  //新价格
                "classify": "连衣裙", //类型
                "imgs": [
                    "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490218800612.jpg", //图片(缩略图 - 同src一样即可)
                ]
            }
        },
    ],
    // 1.2.蕾丝/雪纺衫lace
    Leis: [
        {
            "id": 30002,
            "data": {
                "name": "宝姿Maybelline",
                "title": "宝姿Maybelline/美宝莲净澈多效卸妆水清爽型 舒缓 深层清洁 舒缓 补水 深层清洁 卸妆", //标题
                "src": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490169118213.jpg", //图片
                "num": "0",  //售出数量
                "brand": "小米",  //品牌名
                "brandName": "", //店铺名
                "old": "¥15.90",  //老价格
                "new": "¥15.90",  //新价格
                "classify": "连衣裙", //类型
                "imgs": [
                    "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_G_1490169118213.jpg", //图片(缩略图 - 同src一样即可)
                ]
            }
        },
    ],
}




// 传入本地存储名称和JSON数据,存入本地存储,返回js对象
// function Bendic(data,json) {
//     jsons = JSON.stringify(json);  //转换成JSON字符串
//     // console.log(jsons);  //JSON字符串 \ 传入本地存储的格式
//     localStorage.setItem(data, jsons);   //存进去(本地存储)设置信息

//     var str = localStorage.getItem(data); //拿出来(本地存储)获取信息
//     var obj = JSON.parse(str);  //转换成js对象
//     // console.log(obj);     //js对象
//     return obj;
// };
// // var obj1 = Bendic("mana",allObj.clothingData);
// // console.log(obj1);

// for (let i = 0; i < obj1.length; i++) {
//     var objc = obj1[i];
//     // console.log(objc.data);  //data.* 单项数据
//     // console.log(objc.id);  //id
// }
